#ifndef __INET_ADDR
#define __INET_ADDR
#include <string>
class InetAddr
{
public:
    InetAddr(uint16_t port, std::string ip_addr) : _ip(ip_addr), _port(port)
    {
    }
    uint16_t Port()
    {
        return _port;
    }
    std::string IP()
    {
        return _ip;
    }

protected:
    uint16_t _port;
    std::string _ip;
};
#endif